home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol F-12 / (Vol F-12) Jun 02 2012.iso / Screensaver / screensaver_installer.exe / ____swmx / scripts / frame_1 / DoAction_9.as < prev    next >
Text File  |  2004-10-21  |  1KB  |  44 lines

  1. _global.ScreenweaverVersion = function()
  2. {
  3.    this.init();
  4. };
  5. ScreenweaverVersion.prototype.init = function()
  6. {
  7.    _global.OS_UNKNOWN = 0;
  8.    _global.OS_95 = 1;
  9.    _global.OS_95OSR2 = 2;
  10.    _global.OS_95OSR25 = 3;
  11.    _global.OS_98 = 4;
  12.    _global.OS_98SE = 5;
  13.    _global.OS_ME = 6;
  14.    _global.OS_NT351 = 7;
  15.    _global.OS_NT4 = 8;
  16.    _global.OS_2000 = 9;
  17.    _global.OS_XP = 10;
  18.    _global.OS_STRINGS = ["unknown","95","95 OSR2","95 OSR2.5","98","98 SE","ME","NT 3.51","NT 4","2000","XP"];
  19. };
  20. ScreenweaverVersion.prototype.getPlatformID = function()
  21. {
  22.    return swSystem.Data.OSVPlatformID;
  23. };
  24. ScreenweaverVersion.prototype.getMajorVersion = function()
  25. {
  26.    return swSystem.Data.OSVMajor;
  27. };
  28. ScreenweaverVersion.prototype.getMinorVersion = function()
  29. {
  30.    return swSystem.Data.OSVMinor;
  31. };
  32. ScreenweaverVersion.prototype.getBuildNumber = function()
  33. {
  34.    return swSystem.Data.OSVBuild;
  35. };
  36. ScreenweaverVersion.prototype.getCsdVersion = function()
  37. {
  38.    return swSystem.Data.OSVCSD;
  39. };
  40. ScreenweaverVersion.prototype.getPlatform = function()
  41. {
  42.    return swSystem.Data.OSVID;
  43. };
  44.